<html>
<header>
    <title>Crombs Test</title>
    <meta name="HandheldFriendly" content="True">
    <meta name="viewport" content="width=400">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="default" />
    <link rel="apple-touch-startup-image" href="images/splash.png">
    <script type="text/JavaScript" src="trackers.js"></script>
    <script type="text/JavaScript" src="crombsGPS.js"></script>
</header>
<body>
<script>
 var preyTrackId;
</script>
TESTING
<input type=button value="Test update" onclick="updateTrack('Pat','Mon statut',preyTrackId);">
<p id=content></p>
<script>
 
 setTimeout(initGPS,0);
 setTimeout(update,500);
 function update(){
   var elem = document.getElementById("content");
   var trackid = createTrack();
   preyTrackId = trackid;
   var html = "";
   html+="<li>TrackId: "+getTrackURL(trackid)+"</li>";
   elem.innerHTML=html;
 }
</script>
</body>
</html>